home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000381_news@columbia.edu_Tue Nov 14 14:00:15 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA16217
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun>); Tue, 14 Nov 1995 09:00:24 -0500
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.6.12/8.6.12) id JAA28426 for kermit.misc@watsun; Tue, 14 Nov 1995 09:00:22 -0500
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: protect modem under C-Kermit?
  8. Date: 14 Nov 1995 14:00:15 GMT
  9. Organization: Columbia University
  10. Lines: 57
  11. Message-Id: <48a7df$ro3@apakabar.cc.columbia.edu>
  12. References: <ITZ.95Nov12201537@kronstadt.rahul.net>
  13. Nntp-Posting-Host: watsun.cc.columbia.edu
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <ITZ.95Nov12201537@kronstadt.rahul.net>,
  17. Ian T Zimmerman <itz@rahul.net> wrote:
  18. : Hi. This may be a FAQ...
  19. :
  20. No, this is a new one.
  21.  
  22. : ... but it isn't in the C-Kermit manual which I
  23. : read cover to cover. I am looking for a U*x communication program
  24. : which is both secure and flexible. This means:
  25. : secure - non-root users can't under any circumstances enter the modem
  26. : command mode.
  27. : flexible - all users can specify their own phone book files, line
  28. : setup options (baud, data/parity/stop, etc.) and scripts to execute
  29. : once online. But, they must _not_ be permitted to specify their own
  30. : modem initialization strings.
  31. : It seems to me that every modem comm program in existence is either
  32. : fascist - ie. secure and inflexible. Examples: cu, tip. Or
  33. : libertarian - ie. flexible and insecure. Examples: minicom, and,
  34. : unfortunately, C-kermit.
  35. : That's because 
  36. : 1/ the "connect" command can be entered at any time, even before
  37. : the modem has a carrier. Then users can talk directly to the modem and
  38. : reprogram it to their hearts' content.
  39. : 2/ Users can execute "set dial init-string", thus setting modem
  40. : options indirectly. A special case of this is that they can reenable
  41. : the modem escape sequence (`+++') if it has been disabled, then use it
  42. : to get back to command mode at an arbitrary time.
  43. : I would very much like to get around this problem in C-Kermit ,
  44. : because otherwise I like it a lot, for its flexibility and
  45. : simplicity. Anybody there knows how to do this (preferably without
  46. : hacking C code) ?
  47. I would not consider this a problem.  What you view as insecurity are
  48. essential features for most people.
  49.  
  50. Sometimes it's better to state the problem you are actually trying to
  51. solve, rather than to propose a solution in a vacuum.  Let me take a wild
  52. guess -- you have some kind of dialout modem pool, and you don't want
  53. users to be able to mess up a modem so that subsequent users can't use it
  54. (or worse).
  55.  
  56. This is a common problem, but the place to solve it is not in the
  57. software.  Even if it were solved in the software and you had a "secure"
  58. version of Kermit, any user could simply ftp an "insecure" version and
  59. defeat your security (this is an oversimplification in the interest of
  60. brevity).  The place to solve the problem is the modem itself.  Most
  61. modems can be programmed to reset themselves to a site-defined state when
  62. the phone connection is hung up.  Rack-mount modems (like USR) come with a
  63. management system (e.g. Total Control) that can control the modems
  64. externally, reloading their configurations to undo anything even the most
  65. devious user could do to them.
  66.  
  67. - Frank